package com.hsd.znsh.properties;

import com.lly835.bestpay.utils.RandomUtil;
import lombok.Data;
import org.apache.commons.lang3.RandomStringUtils;
import org.apache.commons.lang3.RandomUtils;
import org.springframework.boot.context.properties.ConfigurationProperties;


@ConfigurationProperties(prefix = "znsh.mqtt")
@Data
public class MqttProperties {
	
	private String server;

	private String ip;
	
	private String username;

	private String password;

	private String defaultTopic;

	private String clientId1= RandomStringUtils.randomNumeric(8);

	private String clientId2= RandomStringUtils.randomNumeric(8);

	private String[] topics;

	private Integer organizationID;

	private Integer applicationID;

	private String loraUsername;

	private String loraPassword;

}

